package org.NooLab.texx.plugg.algo.intf;

import java.io.Serializable;

import org.NooLab.utilities.net.GUID;


public class TextObject implements Serializable{

	private static final long serialVersionUID = 5120971227832347485L;

	String text = "" ;
	String guid = "" ;
	
	int charCount   = 0;
	int charBCount  = 0;
	int wordCount   = 0;
	int sentCount   = 0;
	int pagesCount  = 0;
	
	// ------------------------------------------------------------------------
	public TextObject(){
		guid = GUID.randomvalue() ;
	}
	// ------------------------------------------------------------------------

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public int getCharCount() {
		return charCount;
	}

	public void setCharCount(int charCount) {
		this.charCount = charCount;
	}

	public int getCharBCount() {
		return charBCount;
	}

	public void setCharBCount(int charBCount) {
		this.charBCount = charBCount;
	}

	public int getWordCount() {
		return wordCount;
	}

	public void setWordCount(int wordCount) {
		this.wordCount = wordCount;
	}

	public int getSentCount() {
		return sentCount;
	}

	public void setSentCount(int sentCount) {
		this.sentCount = sentCount;
	}

	public int getPagesCount() {
		return pagesCount;
	}

	public void setPagesCount(int pagesCount) {
		this.pagesCount = pagesCount;
	}

	public String getGuid() {
		return guid;
	}
	
}
